<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>遥远的她</title>
    <style>
        a{
            display:block;
        }
        .box{
            width: 400px;
            position:relative;
        }
        .box.item{
            width: 100%;
            height: 100%;
        }
        .box.item img{
            width: 100%;
        }
        .btu{
            position:absolute;
            opacity:1;
            width: 56px;
            height: 56px;
            right:10%;
            bottom:10%;
            transition:opacity 1s ease-in-out 1s;
            background: url(../img/图片2.png) no-repeat center center;
        }
        .box:hover .btu{
            opacity:1;
        }
        .mask{
            width: 100%;
            height: 0;
            bottom: 0;
            position:absolute;
            overflow:hidden;
            transition:height 0.5s ease-in-out ;

        }
        .box:hover .mask{
            height:100%;
        }
        
        
    </style>
</head>
<body>
    <div class="box">
        <a href="#" class="item"><img src="../img/图片1.jpg" alt=""></a>
        <a href="#" class="btu"></a>
        <a href="#" class="mask">
            <h1>遥远的她</h1>
            <p>远方的她，思念遥远的人。</p>
        </a>
            
        
    </div>
</body>
</html>